import request from '../utils/request'


//获取用户课程lessionfile列表
export function getMyLessionFileList(query: any): any {
  return request({
    url: '/user/getMyLessionFileList',
    method: 'get',
    params: query,
  })
}

// 删除课程lessionfile
export function deleteLessionFile(data: any): any {
  return request({
    url: '/user/deleteLessionFile',
    method: 'post',
    data,
  })
}

// 保存课程lessionfile
export function saveLessionFile(data: any): any {
  return request({
    url: '/user/saveLessionFile',
    method: 'post',
    data,
  })
}